﻿using System;
using FreeSql.DataAnnotations;

namespace App.Model.Main
{
    /// <summary>
    /// 登录信息
    /// </summary>
    //[Table(Name = "sys_login")]
    public class SysLogin : EntityBase<int>
    {
        /// <summary>
        /// 登录用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 登录平台Id
        /// </summary>
        public int PlatformId { get; set; }

        /// <summary>
        /// 登录token
        /// </summary>
        [Column(StringLength = 200)]
        public string Token { get; set; }

        /// <summary>
        /// 刷新token
        /// </summary>
        [Column(StringLength = 200)]
        public string RefToken { get; set; }
    }
}


